package  com.erastep.mvc.observer
{
	import com.erastep.mvc.EraStepFrame;
	import com.erastep.mvc.ifc.IFrame;
	import com.erastep.mvc.ifc.INotifier;
	

	/**
	 * @author jarvis
	 * @date 2010/4/7
	 */
	public class Notifier implements INotifier
	{
		/**
		 * @param noteficationName MessageName
		 * @param body             MessageContent
		 * @param type             MessageType
		 * @param toId             to Module id
		 * @param fromId           from Module id
		 * */
		public function sendNotification( notificationName:String, body:Object=null, type:String=null ,toId:String = null,fromId:String = null):void 
		{
			Iframe.sendNotification(notificationName,body,type,toId,fromId);
		}
		
		protected var Iframe:IFrame = EraStepFrame.getInstance();
	}
}